//字面量创建数组
var arr=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33]
var arr2=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16];
//内置构造函数创建数组
let arr3=new Array();
const arr4=new Array();
//console.log(arr.length)
//for循环六次 蓝区六位数
function fn(){for(var i=0;i<6;i++){
//math.floor向下取整 math.random随机数 0~1
//arr的长度乘以随机数在取整
var n=Math.floor(Math.random()*arr.length);
//向arr3中添加元素
arr3[arr3.length]=arr[n];
//在原数组中删除随机后的元素
arr.splice(n,1);
//console.log(arr3)
arr3.sort((a,b)=>{
  return a-b
   })
 }
 console.log(arr3)
}


for(var i=0;i<5;i++){
  console.log(arr3.concat(arr4.push(arr2[Math.floor(Math.random()*arr2.length)])))
 }

console.log(Number( ))

